package com.salt.modules.sys.mapper;

import com.salt.core.persistence.BaseMapper;
import com.salt.modules.sys.entity.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description
 * @Author salt
 * @Date 2022/9/13
 * @Version 1.0.1
 */
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    long countByCreditCode(@Param("creditCode") String creditCode);

    Company findByCompanyOfficeId(@Param("companyOfficeId") String companyOfficeId);

}
